//
//  Person.h
//  runtime
//
//  Created by yang on 2018/1/8.
//  Copyright © 2018年 YYY. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol PersonDelegate <NSObject>
- (void)insistOne:(NSInteger)date;

- (void)insistTwo:(NSInteger)date;
@end

@interface Person : NSObject

//年龄
@property(nonatomic, assign)NSInteger age;

//职业
@property(nonatomic, copy)NSString *professional;

//薪水
@property(nonatomic, assign)double wage;

@property(nonatomic, assign)id <PersonDelegate>delegate;

- (void)eat;

- (void)sheep;

+ (void)run;

+ (void)study;

@end
